/*
 * @Author: huangximian huangximian@e-ling.com.cn
 * @Date: 2022-05-20 13:56:54
 * @LastEditors: huangximian huangximian@e-ling.com.cn
 * @LastEditTime: 2022-05-24 09:31:21
 * @FilePath: \jcyy-official-website\vue.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// vue.config.js
const px2rem = require('postcss-px2rem');
// 配置基本大小
const postcss = px2rem({
  // 基准大小 baseSize，需要和rem.js中相同
  remUnit: 10
})
module.exports = {
  devServer: {
    overlay: {
      warnings: false, //不显示警告
      errors: false //不显示错误
    },
    // Proxy:{

    // }
  },
  css: {
    loaderOptions: {
      postcss: {
        plugins: [
          postcss
        ]
      }
    },
    lintOnSave: false //关闭eslint检查
  }
}
